import { zbkGet, zbkPost } from '@/utils/request';


//-----------登录-----------
export async function login(params) {
    return zbkPost('/api/login', params);
}

//-----------退出-----------
export async function logout() {
    return zbkPost('/api/logout');
}

//-----------当前用户信息-----------
export async function myInfo() {
    return zbkGet('/api/myInfo');
}

//-----------应用列表-----------
export async function getMyAppList(params) {
    return zbkGet('/api/getMyAppList');
}

//-----------应用列表-----------
export async function getAllAppName(params) {
    return zbkGet('/api/getAllAppName');
}

//-----------获取平台信息-----------
export async function platformInfo() {
    return zbkGet('/api/platformInfo');
}